Filter Hook
View Source on Trac ↗
Filter Hook
option_page_capability_{$option_page}
apply_filters( 'option_page_capability_{$option_page}', $capability ) Filters the capability required when using the Settings API. By default, the options groups for all registered settings require the manage_options capability. This filter is required to change the capability required for a certain options page.
Parameters 0 required
| Name / Type | Description |
|---|---|
| $capability mixed | No description available. |
Return Value
(mixed)
No return value description available.
Hook Information
Source File
wp-admin/options.php
Advertisement